#pragma once
#include "Actor.h"
#include "Camera.h"
#include "RenderViewport.h"

namespace mini
{
	class CRefractionEffect : public CRenderViewport
	{
	public:
		CRefractionEffect();
		virtual ~CRefractionEffect();
		void buildRefCamera(const CPoint3F& eye, const CPoint3F& lookat);
		void setClipPlane(const CPoint4F& clipPlane);
		void buildRenderViewport();
		virtual void updateFrame(float fDeltaTime) override;

	private:
		D3DXVECTOR4 mClipPlane;
	};
}